package de.se2.sharebox;

import de.se2.sharebox.classes.*;
import de.se2.sharebox.controller.*;
import de.se2.sharebox.frames.*;

/**
 *
 * @author Gruppe 10
 *
 */
public class Main
{
	static LoginFrame loginForm;
	static User user;
	static LoginRegistrationController loginRegistrationController;

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		AccountsCollection.getInstance().addAccount(new UserAccount("Taty", "taty", "taty"));
		AccountsCollection.getInstance().addAccount(new UserAccount("Bob", "bob", "bob"));

		loginForm = new LoginFrame();
		user = new User();
		loginRegistrationController = new LoginRegistrationController(user, loginForm);
		loginForm.setVisible(true);

	}


}
